package com.syx.friend;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;

@EnableFeignClients(basePackages = {
        "com.syx.friend", // 原 FeignService 包（若存在）
        "com.syx.api.Model" // 添加 RemoteJudgeService 所在包
})
@SpringBootApplication
@EnableAsync(proxyTargetClass = true)
public class OjFriendApplication {
    public static void main(String[] args) {
        SpringApplication.run(OjFriendApplication.class,args);

    }
}
